Any rearrangement of electrons in two atoms that generates a force, causing the atoms to be bound to each other, forming a molecule. (See covalent bond and ionic bond.)